package com.foreknow.entity;

import java.io.Serializable;

public class Medicalrecord implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 病历号
     *
     * @mbggenerated
     */
    private String casenumber;

    /**
     * 挂号ID
     *
     * @mbggenerated
     */
    private Integer registid;

    /**
     * 主诉
     *
     * @mbggenerated
     */
    private String readme;

    /**
     * 现病史
     *
     * @mbggenerated
     */
    private String present;

    /**
     * 现病治疗情况
     *
     * @mbggenerated
     */
    private String presenttreat;

    /**
     * 既往史
     *
     * @mbggenerated
     */
    private String history;

    /**
     * 过敏史
     *
     * @mbggenerated
     */
    private String allergy;

    /**
     * 体格检查
     *
     * @mbggenerated
     */
    private String physique;

    /**
     * 检查建议
     *
     * @mbggenerated
     */
    private String proposal;

    /**
     * 注意事项
     *
     * @mbggenerated
     */
    private String careful;

    /**
     * 检查结果
     *
     * @mbggenerated
     */
    private String checkresult;

    /**
     * 诊断结果
     *
     * @mbggenerated
     */
    private String diagnosis;

    /**
     * 处理意见
     *
     * @mbggenerated
     */
    private String handling;

    /**
     * 病历状态 1-暂存 2-已提交 3-诊毕
     *
     * @mbggenerated
     */
    private Integer casestate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCasenumber() {
        return casenumber;
    }

    public void setCasenumber(String casenumber) {
        this.casenumber = casenumber;
    }

    public Integer getRegistid() {
        return registid;
    }

    public void setRegistid(Integer registid) {
        this.registid = registid;
    }

    public String getReadme() {
        return readme;
    }

    public void setReadme(String readme) {
        this.readme = readme;
    }

    public String getPresent() {
        return present;
    }

    public void setPresent(String present) {
        this.present = present;
    }

    public String getPresenttreat() {
        return presenttreat;
    }

    public void setPresenttreat(String presenttreat) {
        this.presenttreat = presenttreat;
    }

    public String getHistory() {
        return history;
    }

    public void setHistory(String history) {
        this.history = history;
    }

    public String getAllergy() {
        return allergy;
    }

    public void setAllergy(String allergy) {
        this.allergy = allergy;
    }

    public String getPhysique() {
        return physique;
    }

    public void setPhysique(String physique) {
        this.physique = physique;
    }

    public String getProposal() {
        return proposal;
    }

    public void setProposal(String proposal) {
        this.proposal = proposal;
    }

    public String getCareful() {
        return careful;
    }

    public void setCareful(String careful) {
        this.careful = careful;
    }

    public String getCheckresult() {
        return checkresult;
    }

    public void setCheckresult(String checkresult) {
        this.checkresult = checkresult;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }

    public String getHandling() {
        return handling;
    }

    public void setHandling(String handling) {
        this.handling = handling;
    }

    public Integer getCasestate() {
        return casestate;
    }

    public void setCasestate(Integer casestate) {
        this.casestate = casestate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", casenumber=").append(casenumber);
        sb.append(", registid=").append(registid);
        sb.append(", readme=").append(readme);
        sb.append(", present=").append(present);
        sb.append(", presenttreat=").append(presenttreat);
        sb.append(", history=").append(history);
        sb.append(", allergy=").append(allergy);
        sb.append(", physique=").append(physique);
        sb.append(", proposal=").append(proposal);
        sb.append(", careful=").append(careful);
        sb.append(", checkresult=").append(checkresult);
        sb.append(", diagnosis=").append(diagnosis);
        sb.append(", handling=").append(handling);
        sb.append(", casestate=").append(casestate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}